interface Person {
    firstName: string;
    lastName: string;
}

function greeter(person: Person): string {
    return 'Hello,' + person.firstName;
}

document.write(greeter({firstName: "三上", lastName: "优雅"}))
